package com.guigu;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.pojo.FrontUser;
import com.guigu.pojo.SysUser;
import com.guigu.vo.Pojo;
import com.guigu.vo.Vo;

import java.util.List;

public interface ZhucheService extends IService<FrontUser> {
//账号密码登录
Integer selectByAccount(FrontUser frontUser);
//后台登录
Integer selectByAccount1(SysUser sysUser);
//根据id查询用户信息
SysUser selectById(int uid);
//根据id和密码查询数量
    Integer selectById1(FrontUser frontUser);
    //修改密码
    Integer updatePassword(FrontUser frontUser);
    //分页查询用户信息
    Pojo <FrontUser> selectAll(Vo vo, Integer pageNum, Integer pageSize);
    //根据userId修改bus
    Integer updateById9(FrontUser frontUser);
    //根据userId修改ven
    Integer updateById99(FrontUser frontUser);

            //liyongchao

    //根据id查询前台用户信息
    FrontUser One(int uid);
}
